package s201801260108;

public class TRR333333333 {
    public static void main(String[]args) {
  	  Scanner scanner new scanner(System.in);
  	      int F=scanner.nextInt();
  	      float c;
  	      c=(F-32)*5%9;
  	      System out.print("%4f,c");
  	      scanner.close();
    }
}
